package com.yuerlive.rainbow.module.playlive.presenter;

import com.yuerlive.rainbow.base.BasePresenter;
import com.yuerlive.rainbow.base.BaseView;
import com.yuerlive.rainbow.entity.BaseData;
import com.yuerlive.rainbow.entity.GameInfo;
import com.yuerlive.rainbow.entity.KaiboData;
import com.yuerlive.rainbow.entity.StreamData;

import java.util.List;

/**
 * Created by xiaoyi on 2017/6/9.
 */

public interface PlayLiveRoomContract {
    interface Presenter extends BasePresenter {
        void startLive();

        void liveNotify(String liveId);

        void getGameList();

        void setLiveIcon(String url);
    }

    interface View extends BaseView<Presenter> {

        void stremDataReturn(BaseData<KaiboData> data);

        void showGameList(List<GameInfo> object);

        void startLiveFaild(int code, String result);
    }
}
